Use engine-only ruby-version where only the latest release is needed - #313
Merged
Merged
Conversation
ruby/setup-ruby resolves an engine-only value such as `ruby` or `jruby` to the latest stable release of that engine. The jobs that need a single CRuby (RuboCop, release) and the JRuby rows of the test matrices were pinned to `4.0` or `jruby-10.1.1.0`, so every new CRuby or JRuby release required a manual bump. Writing `ruby` and `jruby` instead lets setup-ruby pick the current release, the same form truffleruby.yml already uses. The README's CI version list now says the latest stable JRuby release instead of 10.1.1.0. The multi-version CRuby matrices, test_gemfiles.yml, and the head/debug jobs name specific releases on purpose and are unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
yahonda
force-pushed
the
use-engine-only-ruby-version
branch
from
September 9, 2026 08:14
e77a3e4 to
420deb2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ruby/setup-ruby resolves an engine-only
ruby-versionsuch asrubyorjrubyto the latest stable release of that engine (Supported Version Syntax), the form truffleruby.yml already uses. This pull request switches the jobs that only need one Ruby to that form, so new CRuby and JRuby releases are picked up without a bump pull request such as #311.4.0toruby: RuboCop, release (build-cruby and release jobs)jruby-10.1.1.0tojruby: release (build-jruby) and the JRuby rows of test, test_11g, test_11g_ojdbc11Unchanged on purpose: the multi-version CRuby matrices (
4.0,3.4,3.3) in test and test_11g, the per-gemfile minimum versions in test_gemfiles.yml, and the ruby_head / jruby_head jobs. ThestartsWith(matrix.ruby, 'jruby')conditions keep matchingjruby.